package com.gwz.mapper;

import org.apache.ibatis.annotations.Param;

import com.gwz.model.NewsModel;
import com.gwz.model.NewsVo;

public interface NewsMapper {

	public void saveNews(@Param("news") NewsModel news);
	
	public NewsVo getNewsVoByTitleAndType(@Param("title") String title, @Param("ntype") String ntype);
	
	public void updateNews(@Param("news") NewsModel news);
}
